<?php

return [
    'class' => 'yii\db\Connection',
    'dsn' => 'mysql:host=localhost;dbname=toujiao',
    'username' => 'root',
    'password' => '698a80e4212ba38f',
    'charset' => 'utf8mb4',

    // Schema cache options (for production environment)
    //'enableSchemaCache' => true,
    //'schemaCacheDuration' => 60,
    //'schemaCache' => 'cache',

    // 'class' => 'yii\db\Connection',
    // 'dsn' => 'mysql:host=192.168.100.101;dbname=haohsi',
    // 'username' => 'root',
    // 'password' => 'root',
    // 'charset' => 'utf8mb4',
    //
    //        // Schema cache options (for production environment)
    //        //'enableSchemaCache' => true,
    //        //'schemaCacheDuration' => 60,
    //        //'schemaCache' => 'cache',
];